package org.lex.net.ftp;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface IRFC959FTPClient {
	public void abort() throws IOException;

	public OutputStream append(String file) throws IOException;

	public void ascii() throws IOException;

	public void binary() throws IOException;

	public void cwd(String path) throws IOException;

	public void cdUp() throws IOException;

	public String feature() throws IOException;

	public InputStream get(String file) throws IOException;

	public InputStream get(String file, long offset) throws IOException;

	public IFTPFile[] list() throws IOException;

	public void login(String user, char[] pswd) throws IOException;

	public void noop() throws IOException;

	public OutputStream put(String file) throws IOException;

	public String pwd() throws IOException;

	public void quit() throws IOException;

	public void reInit() throws IOException;

	public void rename(String from, String to) throws IOException;

	public void restart(long offset) throws IOException;

	public long size(String file) throws IOException;

	public String system() throws IOException;
}
